msg = {
    'MsgId': '7731557286655305283',
    'FromUserName': '@51df406780e0141d11022f04a83957d0',
    'ToUserName': 'filehelper',
    'MsgType': 1,
    'Content': 'hello',
    'Status': 3,
    'ImgStatus': 1,
    'CreateTime': 1523150490,
    'VoiceLength': 0,
    'PlayLength': 0,
    'FileName': '',
    'FileSize': '',
    'MediaId': '',
    'Url': '',
    'AppMsgType': 0,
    'StatusNotifyCode': 0,
    'StatusNotifyUserName': '',
    'RecommendInfo': {
        'UserName': '',
        'NickName': '',
        'QQNum': 0,
        'Province': '',
        'City': '',
        'Content': '',
        'Signature': '',
        'Alias': '',
        'Scene': 0,
        'VerifyFlag': 0,
        'AttrStatus': 0,
        'Sex': 0,
        'Ticket': '',
        'OpCode': 0
    },
    'ForwardFlag': 0,
    'AppInfo': {'AppID': '', 'Type': 0},
    'HasProductId': 0,
    'Ticket': '',
    'ImgHeight': 0,
    'ImgWidth': 0,
    'SubMsgType': 0,
    'NewMsgId': 7731557286655305283,
    'OriContent': '',
    'EncryFileName': '',
    'User': "< User:{'UserName': 'filehelper', 'MemberList': <ContactList: [] >} >",
    'Type': 'Text',
    'Text': 'hello'
}

group_text = {
    'MsgId': '7107859226301119274',
    'FromUserName': '@51df406780e0141d11022f04a83957d0',
    'ToUserName': '@@d6d81681fcd4925de20142a07c6eebbc5204d4faa514795622a2fdacd486ee03',
    'MsgType': 1,
    'Content': '我',
    'Status': 3,
    'ImgStatus': 1,
    'CreateTime': 1523151032,
    'VoiceLength': 0,
    'PlayLength': 0,
    'FileName': '',
    'FileSize': '',
    'MediaId': '',
    'Url': '',
    'AppMsgType': 0,
    'StatusNotifyCode': 0,
    'StatusNotifyUserName': '',
    'RecommendInfo': {
        'UserName': '',
        'NickName': '',
        'QQNum': 0,
        'Province': '',
        'City': '',
        'Content': '',
        'Signature': '',
        'Alias': '',
        'Scene': 0,
        'VerifyFlag': 0,
        'AttrStatus': 0,
        'Sex': 0,
        'Ticket': '',
        'OpCode': 0
    },
    'ForwardFlag': 0,
    'AppInfo': {'AppID': '', 'Type': 0},
    'HasProductId': 0,
    'Ticket': '',
    'ImgHeight': 0,
    'ImgWidth': 0,
    'SubMsgType': 0,
    'NewMsgId': 7107859226301119274,
    'OriContent': '',
    'EncryFileName': '',
    'ActualNickName': '上海小胖',
    'IsAt': False,
    'ActualUserName': '@51df406780e0141d11022f04a83957d0',
    'User': "<Chatroom: {'MemberList': <ContactList: [<ChatroomMember: {'MemberList': <ContactList: []>, 'Uin': 0, 'UserName': '@99afe1f436e703f86df8269e62c333787bc0f13979932fd074176246430f6f38', 'NickName': '杨霸霸', 'AttrStatus': 102437, 'PYInitial': '', 'PYQuanPin': '', 'RemarkPYInitial': '', 'RemarkPYQuanPin': '', 'MemberStatus': 0, 'DisplayName': '', 'KeyWord': ''}>, <ChatroomMember: {'MemberList': <ContactList: []>, 'Uin': 0, 'UserName': '@51df406780e0141d11022f04a83957d0', 'NickName': '上海小胖', 'AttrStatus': 33665663, 'PYInitial': '', 'PYQuanPin': '', 'RemarkPYInitial': '', 'RemarkPYQuanPin': '', 'MemberStatus': 0, 'DisplayName': '', 'KeyWord': ''}>]>, 'UserName': '@@d6d81681fcd4925de20142a07c6eebbc5204d4faa514795622a2fdacd486ee03', 'NickName': '', 'Sex': 0, 'HeadImgUpdateFlag': 1, 'ContactType': 0, 'Alias': '', 'ChatRoomOwner': '@51df406780e0141d11022f04a83957d0', 'HeadImgUrl': '/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=0&username=@@d6d81681fcd4925de20142a07c6eebbc5204d4faa514795622a2fdacd486ee03&skey=@crypt_d88d2aa8_63ce18edaff4eecddca023c6ddb8b2f1', 'ContactFlag': 2, 'MemberCount': 2, 'HideInputBarFlag': 0, 'Signature': '', 'VerifyFlag': 0, 'RemarkName': '', 'Statues': 1, 'AttrStatus': 0, 'Province': '', 'City': '', 'SnsFlag': 0, 'KeyWord': '', 'OwnerUin': 0, 'IsAdmin': None, 'Self': <ChatroomMember: {'MemberList': <ContactList: []>, 'Uin': 0, 'UserName': '@51df406780e0141d11022f04a83957d0', 'NickName': '上海小胖', 'AttrStatus': 33665663, 'PYInitial': '', 'PYQuanPin': '', 'RemarkPYInitial': '', 'RemarkPYQuanPin': '', 'MemberStatus': 0, 'DisplayName': '', 'KeyWord': ''}>}>",
    'Type': 'Text',
    'Text': '我'
}

group_img = {
    'MsgId': '2945261063824540297',
    'FromUserName': '@51df406780e0141d11022f04a83957d0',
    'ToUserName': '@@d6d81681fcd4925de20142a07c6eebbc5204d4faa514795622a2fdacd486ee03',
    'MsgType': 3,
    'Content': '<?xml version="1.0"?>\n<msg>\n\t<img aeskey="649c31a70c50468fb9c4736efaf2161e" encryver="1" cdnthumbaeskey="649c31a70c50468fb9c4736efaf2161e" cdnthumburl="304d0201000446304402010002049c1be43002033d11fd02049ce2e26502045ac972c6041f343932373236303936304063686174726f6f6d375f313532333135313535370204010400020201000400" cdnthumblength="4334" cdnthumbheight="120" cdnthumbwidth="67" cdnmidheight="0" cdnmidwidth="0" cdnhdheight="0" cdnhdwidth="0" cdnmidimgurl="304d0201000446304402010002049c1be43002033d11fd02049ce2e26502045ac972c6041f343932373236303936304063686174726f6f6d375f313532333135313535370204010400020201000400" length="499763" md5="ce66ffbd32c85e4a8601a200c64e1d40" />\n</msg>\n',
    'Status': 3,
    'ImgStatus': 2,
    'CreateTime': 1523151724,
    'VoiceLength': 0,
    'PlayLength': 0,
    'FileName': '180408-094204.png',
    'FileSize': '',
    'MediaId': '',
    'Url': '',
    'AppMsgType': 0,
    'StatusNotifyCode': 0,
    'StatusNotifyUserName': '',
    'RecommendInfo': {
        'UserName': '',
        'NickName': '',
        'QQNum': 0,
        'Province': '',
        'City': '',
        'Content': '',
        'Signature': '',
        'Alias': '',
        'Scene': 0,
        'VerifyFlag': 0,
        'AttrStatus': 0,
        'Sex': 0,
        'Ticket': '',
        'OpCode': 0
    },
    'ForwardFlag': 0,
    'AppInfo': {'AppID': '', 'Type': 0},
    'HasProductId': 0,
    'Ticket': '',
    'ImgHeight': 120,
    'ImgWidth': 67,
    'SubMsgType': 0,
    'NewMsgId': 2945261063824540297,
    'OriContent': '',
    'EncryFileName': '',
    'ActualNickName': '上海小胖',
    'IsAt': False,
    'ActualUserName': '@51df406780e0141d11022f04a83957d0',
    'User': "<Chatroom: {'MemberList': <ContactList: [<ChatroomMember: {'MemberList': <ContactList: []>, 'Uin': 0, 'UserName': '@99afe1f436e703f86df8269e62c333787bc0f13979932fd074176246430f6f38', 'NickName': '杨霸霸', 'AttrStatus': 102437, 'PYInitial': '', 'PYQuanPin': '', 'RemarkPYInitial': '', 'RemarkPYQuanPin': '', 'MemberStatus': 0, 'DisplayName': '', 'KeyWord': ''}>, <ChatroomMember: {'MemberList': <ContactList: []>, 'Uin': 0, 'UserName': '@51df406780e0141d11022f04a83957d0', 'NickName': '上海小胖', 'AttrStatus': 33665663, 'PYInitial': '', 'PYQuanPin': '', 'RemarkPYInitial': '', 'RemarkPYQuanPin': '', 'MemberStatus': 0, 'DisplayName': '', 'KeyWord': ''}>]>, 'UserName': '@@d6d81681fcd4925de20142a07c6eebbc5204d4faa514795622a2fdacd486ee03', 'NickName': '测试群', 'Sex': 0, 'HeadImgUpdateFlag': 1, 'ContactType': 0, 'Alias': '', 'ChatRoomOwner': '@51df406780e0141d11022f04a83957d0', 'HeadImgUrl': '/cgi-bin/mmwebwx-bin/webwxgetheadimg?seq=0&username=@@d6d81681fcd4925de20142a07c6eebbc5204d4faa514795622a2fdacd486ee03&skey=@crypt_d88d2aa8_63ce18edaff4eecddca023c6ddb8b2f1', 'ContactFlag': 2, 'MemberCount': 2, 'HideInputBarFlag': 0, 'Signature': '', 'VerifyFlag': 0, 'RemarkName': '', 'Statues': 1, 'AttrStatus': 0, 'Province': '', 'City': '', 'SnsFlag': 0, 'KeyWord': '', 'OwnerUin': 0, 'IsAdmin': None, 'Self': <ChatroomMember: {'MemberList': <ContactList: []>, 'Uin': 0, 'UserName': '@51df406780e0141d11022f04a83957d0', 'NickName': '上海小胖', 'AttrStatus': 33665663, 'PYInitial': '', 'PYQuanPin': '', 'RemarkPYInitial': '', 'RemarkPYQuanPin': '', 'MemberStatus': 0, 'DisplayName': '', 'KeyWord': ''}>}>",
    'Type': 'Picture',
    'Text': " < function get_download_fn. < locals >.download_fn at 0x1109f2620 > "
}

